package org.example.platform.elasticsearch.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.platform.elasticsearch.service.PageCondition;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class HotelDocRequest extends PageCondition {
    private Hotel hotel;
    private String indexName;
    private Long indexId;
    private String docIdKey;
    private List<Hotel> hotelList;
    private List<Map<String, Object>> recordMapList;
    private List<String> citys;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createStart;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createEnd;
    private String propertiesName;
    private String type;
}
